<div class="mod">
    <div class="wraper">
        	<div class="mod-tit"><a href="#"><?php echo $this->title; ?></a></div>
    	<div class="mainNav">
        	<ul class="nav">
            <?php foreach($this->model as $value): ?>
                    <li ><a href="#"><?php echo $value->name; ?></a>
                    <ul>
                    <?php foreach($value->subJobtypes as $i): ?>
                    <li><a href="index.php?r=job/&id=<?php echo $i->id; ?>"><?php echo $i->name; ?></a></li>
                    <?php endforeach; ?>
                    </ul>
                    </li>
            <?php endforeach; ?>
            </ul>
        </div>
    </div>
    	</div>